import Doctor from "@/components/Doctor/Doctor";
import DoctorPatient from "@/components/Doctor/core/DoctorPatient";
import DoctorPrescription from "@/components/Doctor/core/DoctorPrescription";
import DoctorWarehouse from "@/components/Doctor/core/DoctorWarehouse";
const RouterDoctor={
    path:'/Doctor',
    components:{
        main:Doctor
    },
    children:[
        {
            path:'/Doctor',
            components:{
                doctor:DoctorPatient
            },
            meta:{
                isDoctor:true,
                isLogin:true,
                title:'医生个人中心'
            }
        },{
            path:'/Doctor/Patient',
            components:{
                doctor:DoctorPatient
            },
            meta:{
                isDoctor:true,
                isLogin:true,
                title:'患者查询'
            }
        },
        {
            path:'/Doctor/Prescription',
            components:{
                doctor:DoctorPrescription
            },
            meta:{
                isDoctor:true,
                isLogin:true,
                title:'诊断处方管理'
            }
        },
        {
            path:'/Doctor/Warehouse',
            components:{
                doctor:DoctorWarehouse
            },
            meta:{
                isDoctor:true,
                isLogin:true,
                title:'药品仓库查看'
            }
        }
    ]
};
export default RouterDoctor;